<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
    $this->LoadHead();
    $this->Html->LoadCss("style");
?>
<!-- BODY -->
<body>
    <div id="tudo" >
        <div id="header">
            <div id="header-faixa" class="faixa">
            <?php
                    $menu_superior = array(
                        'Home'                => '',
                        'Empresa'             => 'institucional',
                        'Portfólio'          => 'tenap/portfolio',
                        'Dicas & Histórias'   => 'blog',
                        'Contato'             => 'contato',
                    );
                    $this->LoadJsPlugin("menu/dropdown", 'mddown');
                    $this->mddown->draw($menu_superior, '', "menusuperior");
             ?>
            </div>
            <div id="header-logo"></div>
        </div>
        <div class="clear"></div>
	<div id="main">
            <div id="main-menu">
                <?php 
                echo (isset($menu_title))?"<h2>$menu_title</h2>": "";
                if(isset($menu) && !empty($menu)){
                    $this->LoadJsPlugin("menu/multiple", "mmenu");
                    $this->mmenu->draw($menu);
                }
                ?>
            </div>
            <div id="main-centro"><?php $this->Load('body'); ?></div>
            <div class="clear"></div>
        </div>
        
        <div id="rodape">
            <div id="rodape-livro"></div>
            <div id="rodape-faixa" class="faixa">
                <span><?php $this->Html->LoadImage("tenap.png");?></span>
                <span style="padding-left: 10px"><?php echo SITE_SLOGAN; ?></span>
            </div>
            <div id="rodape-planeta">
                <div id="rodape-planeta-num">
                    <script type="text/javascript" src="<?php echo URL . "recursos/contador/contador.php"?>"></script>
                </div>
                <div id="rodape-planeta-visitantes"><span>Visitantes</span></div>
            </div>
            <div id="rodape-info">
                <?php if(SITE_EMAIL    != ""){?><span class="rodape-destaque">Email: </span><?php echo SITE_EMAIL; ?><?php }?>
                <?php if(SITE_TELEFONE != ""){?><span class="rodape-destaque">Telefone: </span><?php echo SITE_TELEFONE; ?><?php }?>
                <?php if(SITE_ENDERECO != ""){?><span class="rodape-destaque">Unidade Física: </span><?php echo SITE_ENDERECO; ?><?php }?>
            </div>
        </div>
   </div>
    
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-31011717-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>


</html>